function User() {}

//将 Object.create()方法使用
//User构造函数的prototype
var user = Object.create(User.prototype, {
    name: {value: 'Sunny'},
    interests: {value: ['Traveling', 'Swimming4']}
});

//可以增加属性
console.log(user.name);